package org.thomias.multithread.executor;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

import org.thomias.loggertest.YT;

public class Main {
	public static void main(String[] args) {
		YT.init();
		ExecutorService executor = Executors.newSingleThreadExecutor();
		executor.execute(new Runnable() {
			@Override
			public void run() {
				for (int i = 0; i < 10; i++) {
					YT.debug("i=" + i);
				}
			}
		});
		executor.shutdown();
	}
}
